/**
 * 日期组件对应公共数据
 */
export default {
  data() {
    return {
      createEnd: '',
      createStart: ''
    };
  },
  methods: {
    datePickerTime(val) {
      if (!val) return false;
      this.createStart = Math.round(val[0] / 1000);
      this.createEnd = Math.round(val[1] / 1000);
      this.queryClick();
    }
  }
};
